<?php
// 获取报修级别
// header("content-type:text/html;charset=utf-8");
include_once("conn.php");

$sql = "SELECT * FROM tb_fix_leave ORDER BY id ASC";
$result = mysqli_query($conn_DB, $sql);
if($result){
    while($row = mysqli_fetch_assoc($result)){
        echo "<option value='".$row['leave_name']."'>".$row['leave_name']."</option>";
    }
}